﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace PSViewerTest
{
    public partial class PSForm : Form
    {
        public PSForm()
        {
            InitializeComponent();
        }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            //FileInfo finfo = new FileInfo("..\\..\\normalPSprinting.ps");
            //FileInfo finfo = new FileInfo("..\\..\\singleImage.eps");
            FileInfo finfo = new FileInfo("..\\..\\single Image.eps");
            psPane.PSFile = finfo;
        }
    }
}
